import matplotlib.pyplot as plt

y = [1, 4, 9, 16, 25, 9, 3, 13, 15, 19]
x = range(10)
plt.plot(x, y, linewidth=5)
plt.axis([0, 6, 0, 20])
plt.title("线型图")
plt.ylabel("value")
plt.xlabel("key")
plt.show()
